package com.doraro.coal.moudle.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doraro.coal.moudle.user.model.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author doraro
 * @since 2019-09-28
 */
public interface RoleMapper extends BaseMapper<Role> {

    Set<String> getPermsByUserId(@Param("userId") Long userId);
}
